package com.lc.bean;

import java.util.List;

/**
 * @description:年级bean类,一个年级对应多个学生，一对多
 * @author: ManolinCoder
 * @time: 2021/8/22
 */
public class Grade {
    private Integer gradeId;
    private String gradeName;
    private List<Student> studentList;

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public List<Student> getStudentList() {
        return studentList;
    }

    public void setStudentList(List<Student> studentList) {
        this.studentList = studentList;
    }
}
